import type { Foo } from 'Foo';
import type Bar from 'Bar';
type T = Foo;
const x: Bar = 1;

import type Foo from 'foo';
let foo: Foo;

import type { Foo } from 'foo';
let foo: Foo;

import type Type from 'foo';
type T = typeof Type;
type T = typeof Type.foo;

import type { Type } from 'foo';
type T = typeof Type;
type T = typeof Type.foo;

import type * as Type from 'foo';
type T = typeof Type;
type T = typeof Type.foo;

import type Type from 'foo';
export { Type }; // is a type-only export
export default Type; // is a type-only export
export type { Type }; // is a type-only export

import type { Type } from 'foo';
export { Type }; // is a type-only export
export default Type; // is a type-only export
export type { Type }; // is a type-only export

import type * as Type from 'foo';
export { Type }; // is a type-only export
export default Type; // is a type-only export
export type { Type }; // is a type-only export

import type /*comment*/ * as AllType from 'foo';
import type // comment
DefType from 'foo';
import type /*comment*/ { Type } from 'foo';
type T = { a: AllType; b: DefType; c: Type };
